package offer.easy;

public class StringLeft {

    public static String leftMoveString(String str,int n) {
        if (str.equals("") || str == null) {
            return str;
        }
        String left = "";
        String right = "";
        String res = "";

        left = str.substring(0,n);
        right = str.substring(n);

        res = right + left;
        return res;
    }

    public static void main(String[] args) {
        String str = "";
        System.out.println(leftMoveString(str, 2));
    }
}
